package com.spzx.product.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.spzx.product.api.domain.Product;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.spzx.product.domain.dto.ProductDTO;
import com.spzx.product.domain.vo.ProductVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author Administrator
* @description 针对表【product(商品)】的数据库操作Mapper
* @createDate 2024-07-24 18:53:17
* @Entity com.spzx.product.api.domain.Product
*/
public interface ProductMapper extends BaseMapper<Product> {

    List<ProductVO> selectProductVO(Page<ProductVO> page,@Param("product") Product product);

    ProductDTO selectProductDTOById(Long id);
}




